package com.westar.base.model;

import com.westar.base.annotation.DefaultFiled;
import com.westar.base.annotation.Filed;
import com.westar.base.annotation.Identity;
import com.westar.base.annotation.Table;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import java.io.Serializable;
import java.util.Date;

/**
 * 密码库
 *
 * @author admin
 * @ClassName： PasswdMd5
 * @Descrpition： 密码库
 */
@Table
@JsonInclude(Include.NON_NULL)
public class PasswdMd5 implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id主键
     */
    @Identity
    private Integer id;

    /**
     * 记录创建时间
     */
    @DefaultFiled
    private String recordCreateTime;

    /**
     * md5密码
     */
    @Filed
    private String md5;

    /**
     * 密码
     */
    @Filed
    private String passwd;

    /****************以上主要为系统表字段********************/

    /****************以上为自己添加字段********************/

    /**
     * id主键
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * id主键
     *
     * @return Integer
     */
    public Integer getId() {
        return id;
    }

    /**
     * 记录创建时间
     *
     * @param recordCreateTime
     */
    public void setRecordCreateTime(String recordCreateTime) {
        this.recordCreateTime = recordCreateTime;
    }

    /**
     * 记录创建时间
     *
     * @return String
     */
    public String getRecordCreateTime() {
        return recordCreateTime;
    }

    /**
     * md5密码
     *
     * @param md5
     */
    public void setMd5(String md5) {
        this.md5 = md5;
    }

    /**
     * md5密码
     *
     * @return String
     */
    public String getMd5() {
        return md5;
    }

    /**
     * 密码
     *
     * @param passwd
     */
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    /**
     * 密码
     *
     * @return String
     */
    public String getPasswd() {
        return passwd;
    }
}
